<?php
function auth_user()
{
    if(!isset($_SESSION['AUTH'])) return FALSE;
    if($_SESSION['AUTH'] !== TRUE) return FALSE;
    return TRUE;
}

function auth_login($uname = '', $pword = '')
{
    return TRUE;
}

function auth_logout()
{
    
}
?>
